﻿{include file="public/header" /}
			<div class="tab">
				<div class="tab-head">
					<strong>{:lang('push')['send']}</strong>
					<ul class="tab-nav">
						<li {if $tab == ''}class="active"{/if}><a href="#tab-send">{:lang('push')['send']}</a></li>
						<li {if $tab == 'pay'}class="active"{/if}><a href="#tab-list">{:lang('push')['list']}</a></li>
						<li {if $tab == 'other'}class="active"{/if}><a href="#tab-record">{:lang('push')['record']}</a></li>
					</ul>
				</div>
				<div class="tab-body">
					<br />
					<div class="tab-panel {if $tab == ''}active{/if}" id="tab-send">
						<form method="post" class="form-x" action="">
							<div class="form-group">
								<div class="label">
									<label>网站维护状态</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="title">{:lang('push')['title']}</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="title" name="title" value="" size="80" data-validate="required:{:lang('currency')['required']}" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="content">{:lang('push')['content']}</label>
								</div>
								<div class="field">
									<textarea name="content" class="input input-auto" rows="5" cols="80" data-validate="required:{:lang('currency')['required']}" ></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="payload">{:lang('push')['payload']}</label>
								</div>
								<div class="field">
									<textarea name="payload" class="input input-auto" rows="5" cols="80" data-validate="required:{:lang('currency')['required']}" ></textarea>
								</div>
							</div>
							<div class="form-button">
								<button class="button bg-main" type="submit">{:lang('form')['submit']}</button>
							</div>
						</form>
					</div>
					<div class="tab-panel {if $tab == 'pay'}active{/if}" id="tab-list">
						<form method="post">
							<div class="panel admin-panel">
								<div class="panel-head"><strong>{:lang('push')['list']}</strong></div>
								<div class="padding border-bottom">
									<input type="button" class="button button-small checkall" name="checkall" checkfor="id" value="{:lang('currency')['all_select']}" /> 
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{:lang('label')['type']} : 
									 <a type="button" class="{if input('get.type')=='image' || input('get.type')==''}bg-green text-white{/if} button button-small border-green" href="file.html?type=image" />{:lang('push')['list']}</a> 
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{:lang('label')['handle']} : 
									<a id="select_del" type="button" class="button button-small border-red" href="#" />{:lang('currency')['del']}</a>
								</div>
								<table class="table table-hover">
									<tr>
										<th width="100">{:lang('label')['select']}</th>
										<th width="120">User</th>
										<th width="120">{:lang('label')['type']}</th>
										<th width="200">{:lang('label')['handle']}</th>
									</tr>
									{volist name="list" id="volist"}
									<tr>
										<td >
											<input type="checkbox" name="id" value="{$volist.id}" />
										</td>
										<td style="line-height:40px">{$volist.uid}</td>
										<td style="line-height:40px">{$volist.type}</td>
										<td style="line-height:40px">{:lang('label')['handle']}</td>
									</tr>
									{/volist}
								</table>
								{include file="public/pages" /}
							</div>
						</form>
					</div>
					<div class="tab-panel {if $tab == 'other'}active{/if}" id="tab-record">
						<form method="post">
							<div class="panel admin-panel">
								<div class="panel-head"><strong>{:lang('push')['list']}</strong></div>
								<div class="padding border-bottom">
									<input type="button" class="button button-small checkall" name="checkall" checkfor="id" value="{:lang('currency')['all_select']}" /> 
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{:lang('label')['type']} : 
									 <a type="button" class="{if input('get.type')=='image' || input('get.type')==''}bg-green text-white{/if} button button-small border-green" href="file.html?type=image" />{:lang('push')['list']}</a> 
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{:lang('label')['handle']} : 
									<a id="select_del" type="button" class="button button-small border-red" href="#" />{:lang('currency')['del']}</a>
								</div>
								<table class="table table-hover">
									<tr>
										<th width="100">{:lang('label')['select']}</th>
										<th width="120">To</th>
										<th width="120">{:lang('label')['type']}</th>
										<th width="120">{:lang('push')['title']}</th>
										<th width="120">{:lang('push')['content']}</th>
										<th width="200">{:lang('push')['payload']}</th>
										<th width="200">{:lang('label')['time']}</th>
									</tr>
									{volist name="record" id="volist"}
									<tr>
										<td >
											<input type="checkbox" name="id" value="{$volist.id}" />
										</td>
										<td style="line-height:40px">{$volist.uid}</td>
										<td style="line-height:40px">{$volist.type}</td>
										<td style="line-height:40px">{$volist.title}</td>
										<td style="line-height:40px">{$volist.content}</td>
										<td style="line-height:40px">{$volist.payload}</td>
										<td style="line-height:40px">{$volist.time|date="y-m-d",###}</td>
									</tr>
									{/volist}
								</table>
								{include file="public/pages" /}
							</div>
						</form>
					</div>
				</div>
			</div>
{include file="public/footer" /}